package com.ruoyi.web.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.domain.DemoTest;
import com.ruoyi.web.domain.dto.ArticleRequestDTO;

/**
 * demo测试Service接口
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public interface IDemoTestService extends IService<DemoTest> {

    /**
     * 查询demo测试列表
     *
     * @param demoTest demo测试
     * @return demo测试集合
     */
    public List<DemoTest> selectDemoTestList(DemoTest demoTest);

    /**
     * 查询demo模块测试
     *
     * @param id demo模块测试主键
     * @return demo模块测试
     */
    public DemoTest selectDemoTestById(Long id);

    AjaxResult publishAnArticle(ArticleRequestDTO dto);

    AjaxResult countStrategy(ArticleRequestDTO dto);
}
